POV-Ray : Newsgroups : povray.windows : PNG file produced after breaking off a render with Mosaic Preview : Re: PNG file produced after breaking off a render with Mosaic Preview Server Time
6 Oct 2024 05:16:42 EDT (-0400)
  Re: PNG file produced after breaking off a render with Mosaic Preview  
From: Mark Wagner
Date: 26 Jan 2000 00:14:10
Message: <388e82a2@news.povray.org>
Bob Hughes wrote in message <388e49c2@news.povray.org>...
>There are several other file types I've seen opened even if a partial
render the
>POV-Ray is apt to do.  Bmp, Tga, Png, have usually been okay like I said
before
>except for a image program or two I used to use.  Even corrupted Jpg files
will
>open (most of the time).  Have you tried any other file formats, Sander, in
>ACDSee (bmp, tga at least)?  That would narrow it down to the Png part
alone.


Try opening the corrupt image file in POV-Ray using the following code,
replacing "garden.png" with the name of your image file to see if LibPNG can
handle the image.  It may be that ACDSee's implimentation of the PNG
standard is at fault, in which case POV-Ray should be able to open the image
correctly, or it may be that ACDSee, like many other programs including
POV-Ray, is having trouble with an image with a width or height of zero.

Mark

global_settings{assumed_gamma 1}

plane{z, 0 pigment{image_map{ png "garden2.png" once interpolate 2 }}
finish{ambient 1.0 diffuse 0}}

camera{
 location <.5,.5,1>
 look_at <.5,.5,0>
 orthographic
 up y
 right x
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.